{permissions level=$smarty.const.UILEVEL_NORMAL}
<link rel="stylesheet" type="text/css" href="{$smarty.const.URL_FULL}modules/bannermediamodule/css/lit.css">
<div id="accordion-1" style="width:{$config->ewidth}px;height:{$config->eheight}px;overflow:hidden;text-align:center;background-color:#d7d7d7;float:left;position:relative;padding-right:5px;padding-left:0px">
            <div id="wait2" style="display: none; ">
                <div>
                    <img src="{$smarty.const.URL_FULL}modules/bannermediamodule/images/loading4.gif">
                </div>
            </div>
            <dl class="easy-accordion" style="width:{$config->ewidth}px; height:{$config->eheight}px">
            {foreach name=item from=$data item=item}
            <dt style="width: 230px;top:109.5px !important" class="">WE ARE ON SOCIAL MEDIA!<span class="slide-number" style="">01</span></dt>
            <dd style="width:{$config->iwidth}px !important; height:{$config->iheight}px !important; display: none;" class="">
            {if $item->item_type==1}
            <img src="{$smarty.const.BASE_URL}/phpThumb.php?src={$item->img}&w={$rotator_6_width}" width="{$config->iwidth}px" height="{$config->iheight}px">
            <!--<img src="{$item->img}" width="{$config->iwidth}px" height="{$config->iheight}px"/>-->
            {else}
            {$item->item_content}
            {/if}
            </dd>
            {/foreach}

         </dl>
        </div>
 <div class="bg_bannermedia" style="width:{$config->ewidth-10}px">
 <span>{chain module='textmodule' view='Default' src=$text_src}</span>
</div>
{literal}
<script>
        $(document).ready(function () {
            $('#accordion-1').easyAccordion({ 
                    autoStart: true, 
                    slideInterval: 5000
            });
            $("#wait2").ready(function() {
                $("#wait2").fadeOut(2500);
            });
            });

</script>
{/literal}
<script type="text/javascript" src="{$smarty.const.URL_FULL}modules/bannermediamodule/js/jquery.easyAccordion.js"></script>
{literal}
<style>
        #wait2{
            
            top:0;
            left:0;
            right:0;
            bottom:0;
            background-color:#FFF;
            z-index:500;
            text-align:center;
        }
        #wait2 div {
                margin-top:40px;
        }
    </style>
{/literal}
{/permissions}
